// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import { Button ,Progress} from 'element-ui'
import App from './App'
import router from './router'
import { Carousel , CarouselItem} from 'element-ui'
import { AjaxPlugin } from 'vux'
import Vuex from 'vuex'
import store from '../util/store/index'
import axios from 'axios'
import {data} from '../util/mock/mock';
Vue.use(AjaxPlugin)
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.use(Button)
Vue.use(Progress)

Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Vuex)


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
